package javase.module2.task04;

public class Gold implements Money, Metal {

    @Override
    public void shine() {
        System.out.println("发出了金色的光芒");
    }

    @Override
    public void buy() {
        System.out.println("买了好多好吃的");
    }

    public static void main(String[] args) {
        // 1.多态
        Metal mt = new Gold();
        mt.shine();
        Money my = new Gold();
        my.buy();
        System.out.println("========================");
        mt.man1();
        mt.man2();
        Metal.test();
    }
}
